export const searchList = [
  {
    type: 'input',
    name: '课程名称',
    field: 'courseName',
  },
]

export const listColumns = [
  {
    title: '课程名称',
    key: 'courseName',
  },
  {
    title: '教师姓名',
    key: 'teacherName',
  },
  {
    title: '复核状态',
    key: '',
  },
  {
    title: '授课班级',
    key: 'clazzName',
  },
  {
    title: '督导综合评分',
    key: 'totalScore',
  },
  {
    title: '督导日期',
    key: 'evaluationDate',
  }
]

export const actionArr = [
  {
    action: 'look',
    value: '查看',
  },
  {
    action: 'edit',
    value: '编辑',
  },
  {
    action: 'process',
    value: '办理',
  },
  {
    action: 'del',
    value: '删除',
  },
]
export const btnList = [
  {
    action: 'add',
    value: '新增',
    auth: ''
  }
];
export const rules = {
  teacherId: [
    { required: true, message: '请输入教师姓名', trigger: 'blur' },
  ],
  courseName: [
    { required: true, message: '请输入课程名称', trigger: 'blur' },
    { 
      pattern: /^(?!^\d+$).+$/, 
      message: '不能为纯数字', 
      trigger: 'blur' 
    }
  ],
  classId: [
    { required: true, message: '请输入授课班级', trigger: 'change' },
  ],
  evaluationDate: [
    { required: true, message: '请选择督导日期', trigger: 'change' },
  ],
  evaluatorIdentity: [
    { required: true, message: '请输入督导专家身份', trigger: 'change' },
  ],
  scoreA: [
    { required: true, message: '请输入教学文件规范性', trigger: 'change' },
  ],
  scoreB: [
    { required: true, message: '请输入专业技能匹配度', trigger: 'change' },
  ],
  scoreC: [
    { required: true, message: '请输入实训教学占比', trigger: 'change' },
  ],
  scoreD: [
    { required: true, message: '请输入师德师风表现', trigger: 'change' },
  ],
  scoreE: [
    { required: true, message: '请输入信息化教学应用', trigger: 'change' },
  ],
  scoreF: [
    { required: true, message: '请输入课堂管理效能', trigger: 'change' },
  ],
  scoreG: [
    { required: true, message: '请输入教学评价闭环', trigger: 'change' },
  ],
  scoreH: [
    { required: true, message: '请输入技能竞赛指导', trigger: 'change' },
  ],
  scoreL: [
    { required: true, message: '请输入产教融合衔接', trigger: 'change' },
  ],
  scoreJ: [
    { required: true, message: '请输入教学创新实践', trigger: 'change' },
  ],
  scoreK: [
    { required: true, message: '请输入督导综合评分', trigger: 'change' },
  ],
  signatureFileId: [
    { required: true, message: '请上传督导人签名', trigger: 'change' },
  ],
}